package edu.zut.hb.ambition.upplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import edu.zut.hb.ambition.base.domain.Column;

import edu.zut.hb.ambition.base.domain.BaseEntity;
public class Upplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */

    @Column(name = "supplierid")
    private String supplierid;

    @Column(name = "suppliername")
    private String suppliername;


    @Column(name = "supplierphone")
    private String supplierphone;


    @Column(name = "supplieraddress")
    private String supplieraddress;

    public void setSupplierid(Long supplierid) 
    {
        this.supplierid = supplierid;
    }

    public Long getSupplierid() 
    {
        return supplierid;
    }
    public void setSuppliername(String suppliername) 
    {
        this.suppliername = suppliername;
    }

    public String getSuppliername() 
    {
        return suppliername;
    }
    public void setSupplierphone(String supplierphone) 
    {
        this.supplierphone = supplierphone;
    }

    public String getSupplierphone() 
    {
        return supplierphone;
    }
    public void setSupplieraddress(String supplieraddress) 
    {
        this.supplieraddress = supplieraddress;
    }

    public String getSupplieraddress() 
    {
        return supplieraddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierid", getSupplierid())
            .append("suppliername", getSuppliername())
            .append("supplierphone", getSupplierphone())
            .append("supplieraddress", getSupplieraddress())
            .toString();
    }
}
